package com.zhongwang.mms.module.material.dao;

import com.zhongwang.mms.gen.entity.MAdjust;
import com.zhongwang.mms.gen.entity.MAdjustExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MAdjustDao {
    long countByExample(MAdjustExample example);

    int deleteByExample(MAdjustExample example);

    int deleteByPrimaryKey(Integer adjId);

    int insert(MAdjust record);

    int insertSelective(MAdjust record);

    List<MAdjust> selectByExample(MAdjustExample example);

    MAdjust selectByPrimaryKey(Integer adjId);

    int updateByExampleSelective(@Param("record") MAdjust record, @Param("example") MAdjustExample example);

    int updateByExample(@Param("record") MAdjust record, @Param("example") MAdjustExample example);

    int updateByPrimaryKeySelective(MAdjust record);

    int updateByPrimaryKey(MAdjust record);
}